app: main.o add.o
	gcc -o $@ $^

%.o: %.c
	gcc -MMD -MP -c -o $@ $^

%.d: %.c
	gcc -MMD -MP  $^

clean:
	rm -rf app *.o
